//
// Created by jingjia on 10/14/21.
//

#include "osThread.hpp"
#include "mutex.hpp"

OSThread::OSThread() {
    monitor = new Monitor();
}

OSThread::~OSThread() {

}

void OSThread::setThreadId(pthread_t tid) {
    _thread_id = tid;
}

Monitor *OSThread::startThreadLock() const {
    return monitor;
}
